ScanDeviceManager
The ScanDeviceManager class provides necessary functionality to communicate with the range of Cambridge Technology scan controllers. The ScanDeviceManager class effectively encapsulates different controller types in to one simple interface which provides an easy to use software interface for the API user.
Properties
EnabledStatusCategories | Gets or sets the status categories that will be monitored |
DeviceClasses | Gets a list of Device Classes of the connected Gateways. |
StatusRefreshInterval | Gets or sets the status refreshing interval in milliseconds. |
Methods
Attach | Attach to a device using the device unique name. |
ClearInterlock | Clears the specified interlock. |
Close | Disconnects all the connections and clean up the resources |
Connect | Connects to the device. |
CreateScanDocument | Creates an instance of a ScanDocument bound to the given device. |
CreateScanDocumentOffline | Creates an instance ScanDocument which is not bound to any device type |
DeleteStoredScanDocument | Deletes the stored scan document from the specified device |
Detach | Detach from the specified device without terminating any operations |
Disconnect | Disconnect from the device. |
EnableFastIOMonitoring | Enables fast IO monitoring for this ScanDeviceManager |
GetConfigData | Gets a copy of the stored configuration data from the device. |
GetDeviceClass | Gets the device class name for the given device |
GetDeviceConfigurationData | Gets the X, Y and Z configuration values for the device. |
GetDeviceFriendlyName | Gets the friendly name for the given device |
GetDeviceList | Gets the device names of the available devices |
GetDeviceStatusSnapshot | Creates a snapshot of the device status |
GetPriorityData | Gets information from the controller using priority messages. |
GetStoredScanDocumentList | Returns a list of scan documents stored on the specified device |
InitializeHardware | Initialize the ScanDeviceManager instance. |
Loads the configuration and device gateways. |
|
RenameStoredScanDocument | Renames a stored scan document file |
RescanDevices | |
ResetController | Resets the specified device |
ResetScanners | Resets the scanners attached to the specified device. |
SendConfigData | Sends device configuration data to the specified device. |
SendCorrectionData | Sends correction data to the specified device |
SendPriorityData | Sends a priority data message to a controller. |
SendStreamData | Sends streaming data to a marking controller. |
ShowDeviceInformation | Display a dialog showing device information |
ShowDevicePropertyPages | Display a dialog showing device properties with facility to edit. |
UploadCorrectionFile |
LoadConfigurationDataFromScanDevice | Load the configuration data from the specified device. |
CanLoadConfigurationDataFromScanDevice | Check whether the specified device contains configuration data |
Events
DeviceInterlockTriggered | Notifies if a interlock for a device is triggered. |
DeviceListChanged | Notifies if the device list has an update |
DeviceStatusChanged | Notifies if the device status has changed. |
ScanDeviceGatewayFailed |
Notifies if a failure in the device communication. |